<!doctype html> 
<html> 
<head> 
    <meta charset="utf-8"> 
    <title></title> 
</head>
<script type="text/javascript">

function b(){
	window.c = 10;
	//alert(a);
}
b();
alert(c);
</script>
<script type="text/javascript">
	var a = 10;
</script>
<script type="text/javascript">
	alert(a);
</script>
<body>

<div id='sad' class='asda' lll='1'></div>
</body>
</html>